Get

Function

This API is used to get parameter for Extended Functionality > AIMutexRelation .

Request Message

None.

Sample:

POST /API/AIMutexRelation/Get HTTP/1.1
HTTP/1.1
{
    "version":"1.0",
    "data":{}
}

Response Message

Parameter Description

Table 1

ParameterRangeTypeDescription
channel_infoJSON objectChannel Information JSON show as followtable 2

Table 2

ParameterRangeTypeDescription
CH1Json ObjectChannel Information JSON show as followtable 3
Table 3
ParameterRangeTypeDescription
categoryJSON arrayChannel Information JSON show as followtable 4

Table 4

ParameterRangeTypeDescription
intelligent_type"fd"
"pvd"
"pid"
"lcd"
"sod"
"cc"
"cd"
"qd"
"lpd"
"hm"
"rsd"
"intrusion"
"region_entrance"
"region_exiting"
stringIntelligent types that can be configured
Note: Depending on the device functionality, the actual intelligent type may be less than the allowed configuration type
mutex_type"fd"
"pvd"
"pid"
"lcd"
"sod"
"cc"
"cd"
"qd"
"lpd"
"hm"
"rsd"
"intrusion"
"region_entrance"
"region_exiting"
stringintelligent type Indicates the intelligent type that is mutually exclusive with intelligent Type
Note: Actual mutex types vary depending on device capabilities
mutex_type_between_channelJSON array(Thermal imaging use)Intelligent type of the mutual exclusion between the schedule_type of other channels and the current channel
Note: The actual mutual exclusion type varies according to the device capabilityTable 5

Table 5

ParameterRangeTypeDescription
channel“CH1”
“CH2”
...
stringExclusive channel
mutex_type"fd"
"pvd"
"pid"
"lcd"
"sod"
"cc"
"cd"
"qd"
"lpd"
"hm"
“rsd”
“intrusion”
“region_entrance”
“region_exiting”
Json arrayIntelligent type that is mutually exclusive with schedule_type
Note: The actual type varies according to the device capability

Sample:

HTTP/1.1 200 OK
Content-Type: application/json
{
    "result": "success",
    "data": {
        "channel_info": {
            "CH1": {
                "category": [
                    {
                        "intelligent_type": "fd",
                        "mutex_type": [
                            "pid",
                            "lcd",
                            "sod",
                            "pvd",
                            "cc",
                            "cd",
                            "qd",
                            "lpd",
                            "hm"
                        ]
                    },
                    {
                        "intelligent_type": "pvd",
                        "mutex_type": [
                            "pid",
                            "lcd",
                            "sod",
                            "fd",
                            "cc",
                            "cd",
                            "qd",
                            "lpd",
                            "hm"
                        ]
                    },
                    {
                        "intelligent_type": "pid",
                        "mutex_type": [
                            "lcd",
                            "sod",
                            "pvd",
                            "fd",
                            "cc",
                            "cd",
                            "qd",
                            "lpd",
                            "hm"
                        ]
                    },
                    {
                        "intelligent_type": "lcd",
                        "mutex_type": [
                            "pid",
                            "sod",
                            "pvd",
                            "fd",
                            "cc",
                            "cd",
                            "qd",
                            "lpd",
                            "hm"
                        ]
                    },
                    {
                        "intelligent_type": "sod",
                        "mutex_type": [
                            "pid",
                            "lcd",
                            "pvd",
                            "fd",
                            "cc",
                            "cd",
                            "qd",
                            "lpd",
                            "hm"
                        ]
                    },
                    {
                        "intelligent_type": "cc",
                        "mutex_type": [
                            "pid",
                            "lcd",
                            "sod",
                            "pvd",
                            "fd",
                            "cd",
                            "qd",
                            "lpd",
                            "hm"
                        ]
                    },
                    {
                        "intelligent_type": "cd",
                        "mutex_type": [
                            "pid",
                            "lcd",
                            "sod",
                            "pvd",
                            "fd",
                            "cc",
                            "qd",
                            "lpd",
                            "hm"
                        ]
                    },
                    {
                        "intelligent_type": "qd",
                        "mutex_type": [
                            "pid",
                            "lcd",
                            "sod",
                            "pvd",
                            "fd",
                            "cc",
                            "cd",
                            "lpd",
                            "hm"
                        ]
                    },
                    {
                        "intelligent_type": "lpd",
                        "mutex_type": [
                            "pid",
                            "lcd",
                            "sod",
                            "pvd",
                            "fd",
                            "cc",
                            "cd",
                            "qd",
                            "hm"
                        ]
                    },
                    {
                        "intelligent_type": "hm",
                        "mutex_type": [
                            "pid",
                            "lcd",
                            "sod",
                            "pvd",
                            "fd",
                            "cc",
                            "cd",
                            "qd",
                            "lpd"
                        ]
                    },
                    {
                        "intelligent_type": "rsd",
                        "mutex_type": []
                    }
                ]
            }
        }
    }
}

Error Code

See Response Messages Body and Common error_code for more information.